package com.ziyun.erp.modules.order.dao;

import com.ziyun.erp.modules.order.entity.ErpOrderAllotRelevanceEntity;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.ziyun.erp.modules.order.vo.OriginalRelevanceVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * erp订单分配关联表
 * 
 * @author gaosheng
 * @email 
 * @date 2018-10-19 11:13:33
 */
@Service("erpOrderAllotRelevanceDao")
public interface ErpOrderAllotRelevanceDao extends BaseMapper<ErpOrderAllotRelevanceEntity> {

    int cancleAllotInfo(@Param("productionId") Integer productionId);

    ErpOrderAllotRelevanceEntity getByProductionId(@Param("productionId") Integer productionId);

    List<OriginalRelevanceVo> selectInfoByOriginalOrderNo(@Param("originalOrderNo") String originalOrderNo);

}
